package com.hejia.alauda.persistence.mybatis;

import org.apache.ibatis.annotations.Delete;

import com.hejia.alauda.entity.SaleActivityDevice;
import com.hejia.alauda.persistence.BaseMapper;

public interface SaleActivityDeviceMapper extends
		BaseMapper<SaleActivityDevice> {

	@Delete("DELETE FROM `saleactivitydevice` WHERE `saleactivity_id`= #{0}")
	int deleteSaleActivityDeviceBySAId(Long id);

}
